package com.tbsoft.biz.action;

import org.apache.camel.Exchange;

import com.tbsoft.biz.service.PurchaseService;
import com.tbsoft.core.action.ActionBeanInterface;
/**
 * @desc 采购Action 普通业务action
 * @author tudongyun
 *
 */
public class PurchaseActionBean implements ActionBeanInterface {
	PurchaseService prchaseService;
	public void setPrchaseService(PurchaseService prchaseService) {
		this.prchaseService = prchaseService;
	}
	@Override
	public void perform(Exchange exchange) {
		//在此层根据实际业务调用service对应的方法
		prchaseService.printPurchase(exchange);
	}

}
